<template>
  <div class="home">
    {{tableKey}}
  </div>
</template>

<script lang="ts">
declare var window:any
import { Vue, Component } from 'vue-property-decorator'
@Component({})
export default class Home extends Vue { 
  
  private tableKey = 0
  // 初始化
  private async init() {
    var info = await window.common.init()
    window.requestHandle(()=>{
      console.log(info);
    })
  }
  created() {
    this.init()
  }
  mounted(){
    console.log(2);
  }
   
}
</script>

<style lang="less" scoped>

</style>
